<template>
	<view class="card" style="margin-top: 30rpx;margin-left: 20rpx;margin-right: 20rpx;">
		<u-notice-bar :text="text1" bgColor="transparent" color="#e2e8f0"></u-notice-bar>
	</view>
</template>

<script>
	import {
		getOne
	} from '@/api/my.js'
	export default {
		data() {
			return {
				// show: true,
				text1: ''
			};
		},
		mounted() {
			this.getOnes()
		},
		methods: {
			async getOnes() {
				try {
					let res = await getOne()
					this.text1 = res.data.content
				} catch (error) {
					//TODO handle the exception
				}
			}
		}
	};
</script>

<style lang="scss" scoped>

</style>